package com.ruoyi.receipt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 例题-问题答案关联对象 tb_example_subject_relation
 * 
 * @author ruoyi
 * @date 2021-03-31
 */
public class TbExampleSubjectRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** tb_example_subject_manager表id */
    @Excel(name = "tb_example_subject_manager表id")
    private Long subjectManagerId;

    /** tb_example_subject_option表id */
    @Excel(name = "tb_example_subject_option表id")
    private Long subjectOptionId;

    /** 答案内容 */
    @Excel(name = "答案内容")
    private String subjectOptionContent;

    /** 删除状态 0未删除(默认) 1已删除 */
    @Excel(name = "删除状态 0未删除(默认) 1已删除")
    private Integer isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectManagerId(Long subjectManagerId) 
    {
        this.subjectManagerId = subjectManagerId;
    }

    public Long getSubjectManagerId() 
    {
        return subjectManagerId;
    }
    public void setSubjectOptionId(Long subjectOptionId) 
    {
        this.subjectOptionId = subjectOptionId;
    }

    public Long getSubjectOptionId() 
    {
        return subjectOptionId;
    }
    public void setSubjectOptionContent(String subjectOptionContent) 
    {
        this.subjectOptionContent = subjectOptionContent;
    }

    public String getSubjectOptionContent() 
    {
        return subjectOptionContent;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectManagerId", getSubjectManagerId())
            .append("subjectOptionId", getSubjectOptionId())
            .append("subjectOptionContent", getSubjectOptionContent())
            .append("isDel", getIsDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
